package com.share.example.wechat.model.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-06-21
 */
@Data
@Accessors(chain = true)
@TableName("wc_user")
public class User implements Serializable{

    private static final long serialVersionUID=1L;

    @TableId(type = IdType.AUTO)
    private Long id;
    /** 微信openId */
    @TableField(value = "open_id")
    private String openId;
    /** 系统唯一用户id */
    @TableField(value = "user_id")
    private String userId;
    /** 用户手机号 */
    @TableField(value = "phone_no")
    private String phoneNo;
    /** 用户email */
    private String email;
    /** 状态 */
    private String status;
    @TableField(value = "create_time")
    private Date createTime;

}
